package com.smartgame;

import com.badlogic.gdx.Application;
import com.badlogic.gdx.Game;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.assets.AssetManager;
import com.smartgame.screens.MenuScreen;
import com.smartgame.util.Assets;

public class SpidersGame extends Game {
	
	@Override
	public void create() {
		// Set Libgdx log level
		Gdx.app.setLogLevel(Application.LOG_DEBUG);
		
		// Load assets
		Assets.instance.init(new AssetManager());
		
		// Start game at menu screen
		setScreen(new MenuScreen(this));
	}
	
	@Override
	public void dispose() {
		super.dispose();
		
		// release all assets
		Assets.instance.dispose();
	}

}
